package sh.wn36.vehiclemanage.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sh.wn36.vehiclemanage.entity.InspectionRecord;
import sh.wn36.vehiclemanage.entity.dto.InspectionQuery;
import sh.wn36.vehiclemanage.entity.qz_entity.InspectionRecordList;
import sh.wn36.vehiclemanage.mapper.InspectionRecordListMapper;
import sh.wn36.vehiclemanage.mapper.InspectionRecordMapper;
import sh.wn36.vehiclemanage.service.InspectionRecordListService;
import sh.wn36.vehiclemanage.service.InspectionRecordService;
import sh.wn36.vehiclemanage.xzy.UnitQuery;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
@Service
public class InspectionRecordServiceListImpl extends ServiceImpl<InspectionRecordListMapper, InspectionRecordList> implements InspectionRecordListService {
@Autowired
    private  InspectionRecordListMapper inspectionRecordListMapper;

    @Override
    public IPage<InspectionRecordList> pageWrapper(Page<InspectionRecordList> page, QueryWrapper<InspectionRecordList> queryWrapper) {
        IPage<InspectionRecordList> inspectionRecordListIPage = inspectionRecordListMapper.selectPages(page, queryWrapper);
        return inspectionRecordListIPage;
    }
}
